package com.taxi.driver.module.vo;

import com.alibaba.fastjson.JSON;
import com.taxi.driver.data.entity.CancelReasonEntity;

/**
 * 功能描述：取消理由
 */
public class CancelReasonVO {

    public static CancelReasonVO createFrom(CancelReasonEntity entity) {
        if (entity == null) return new CancelReasonVO();
        String strJson = JSON.toJSONString(entity);
        return JSON.parseObject(strJson, CancelReasonVO.class);
    }

    public String uuid;
    public String tagName;

}
